package com.xuecheng.api.media.model.agent.sentinel;

import com.xuecheng.api.media.model.agent.MediaClient;
import com.xuecheng.common.domain.code.CommonErrorCode;
import com.xuecheng.common.domain.response.RestResponse;
import org.springframework.stereotype.Component;

@Component
public class MediaApiAgentFallBack implements MediaClient {
    @Override
    public RestResponse getById(Long mediaId) {
        RestResponse<Object> validfail =
                RestResponse.validfail(CommonErrorCode.E_999981);

        return validfail;
    }
}
